#include <exception/NpException.h>
#include <netpipe/RobotGather.h>
#include <netpipe/Spider.h>

int main()
{
  try
  {
  //RobotGather robotGather;
  //robotGather.work();
    Spider spider;
    spider.work();
  }
  catch(npexception::NpException ex )
  {
    std::cout<<ex<<std::endl;
  }
  catch(int ex)
  {
    std::cout<<ex<<std::endl;
  }
  return 0;
}
